package com.piggy.logi.sys.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.piggy.logi.sys.domain.LogiWaybillCarrier;
import com.piggy.logi.sys.domain.LogiWaybillFee;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 运单信息编辑对象 logi_waybill
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel("运单信息编辑对象")
public class LogiWaybillEditExtBo extends LogiWaybillEditBo {

    @ApiModelProperty("是否提交（0仅保存1保存并提交）")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Integer submitted = 0;

    @ApiModelProperty("增值服务")
    private LogiWaybillValueAddEditBo waybillValueAdd;

    @ApiModelProperty("费用总计")
    private LogiWaybillFee waybillFee;

    @ApiModelProperty("运单承运商")
    private LogiWaybillCarrier waybillCarrier;

    @ApiModelProperty("货源订单货源数据集合")
    private List<LogiWaybillGoodSourceEditBo> goodSourceList;

    @ApiModelProperty("关联订单id集合")
    private List<Long> goodOrderIdList;
}
